<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="title" content="<?= FACEBOOK_APP_NAME ?>" />
    <meta name="description" content="<?= FACEBOOK_APP_DESCRIPTION ?>" />
    <meta property="og:title" content="<?= FACEBOOK_APP_NAME ?>" />
    <meta property="og:description" content="<?= FACEBOOK_APP_DESCRIPTION ?>" />
    <meta property="og:image" content="<?= SOURCE_URL_HTTP ?>/images/logo.gif"/> 
    <meta property="og:url" content="<?= FACEBOOK_CANVAS_URL ?>" /> 
    <meta property="og:site_name" content="<?= FACEBOOK_APP_DESCRIPTION ?>" />
    <meta property="fb:app_id" content="<?= trim(FACEBOOK_APP_ID) ?>" />
    <link href="includes/css/general_style.css" rel="stylesheet" type="text/css">
    <link href="includes/css/jquery-ui-1.8.11.custom.css" rel="stylesheet" type="text/css" >
    <title><?= FACEBOOK_APP_NAME ?></title>
    <script type="text/javascript" src="includes/js/jquery-1.6.min.js"></script>
    <script type="text/javascript" src="includes/js/common_javascript.js"></script>
    <script type="text/javascript" src="includes/js/jquery-ui-1.8.11.custom.min.js"></script>

    <script src="includes/js/jquery.colorbox.js"></script>
    <link media="screen" rel="stylesheet" href="includes/css/colorbox.css" />

    <script type="text/javascript">

        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-28395252-1']);
        _gaq.push(['_trackPageview']);

        (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();

    </script>

</head>
<body>

    <?
    if (SANDBOX_MODE == 0) {
        ?>
        <div id="fb-root"></div>

        <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
        <script>
            function sendRequestViaMultiFriendSelector() {
                FB.init({
                    appId  : '<?= FACEBOOK_APP_ID ?>',
                    status : true, // check login status
                    cookie : true, // enable cookies to allow the server to access the session
                    xfbml  : true,  // parse XFBML
                    oauth  : true // enable OAuth 2.0
                });
                FB.ui({method: 'apprequests',
                    message: '<?= FACEBOOK_APP_NAME ?>',
                    data:''
                }, requestCallback);
            }
                                                          
            function requestCallback(response) {
                // Handle callback here
            }
        </script>
        <script type="text/javascript">
            FB.init({
                appId  : '<?= FACEBOOK_APP_ID ?>',
                status : true, // check login status
                cookie : true, // enable cookies to allow the server to access the session
                xfbml  : true,  // parse XFBML
                oauth  : true // enable OAuth 2.0
            });
                                    
            function increaseIframeSize(w,h){
                                                                                          
                var obj =   new Object;
                obj.width=w;
                obj.height=h;
                FB.Canvas.setSize(obj);
            }
                                                                                        
                                   
                                                                                    	
            FB.Canvas.scrollTo(0,0);
                                                    
    <?
    if (empty($preset_height)) {
        $height = '800';
    } else {
        $height = $preset_height;
    }
    ?>
        increaseIframeSize(1200,<?= $height ?>);
                                    
                               
        </script>

    <? } ?>
    <? include_once 'includes/javascript.php'; ?>        
    <div id="divMsg"></div>
<center>
    <?
    ?>

    <table width="800">
        <td>
            <table  cellpadding="5" cellspacing="0" align="">
                <Td align="left"><a href="landing.php"><img src="images/btn_home.png"></a></td>
                <td><img src="images/divider.png"></td>
                <td><a href="share_view.php"><img src="images/btn_shareyourviews.png"></a></td>
                <td><img src="images/divider.png"></td>
               
            </table>
        </td>
        <Tr>
        <td>

